Gradual Tensor Shape Checking

نویسندگان

چکیده

Abstract Tensor shape mismatch is a common source of bugs in deep learning programs. We propose new type-based approach to detect tensor mismatches. One the main features our best-effort inference. As inference problem undecidable general, we allow static type/shape be performed only manner. If cannot guarantee absence inconsistencies, dynamic checks are inserted into program. Another feature gradual typing, where users can improve precision by adding appropriate type annotations formalize and prove that it satisfies criteria typing proposed Siek et al. 2015. have implemented prototype checking tool based on evaluated its effectiveness applying some neural network

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Shape Checking of Array Programs

Shape theory provides a framework for the study of data types in which shape and data can be manipulated separately. This paper is concerned with shape checking, i.e. the detection of shape errors, such as array bound errors, without handling the data. It can be seen as a form of partial evaluation in which data computations are ignored. We construct a simply-typed lambda-calculus that supports...

متن کامل

Gradual growth versus shape invariance in perceptual decision making.

A dominant theme in modeling human perceptual judgments is that sensory neural activity is summed or integrated until a critical bound is reached. Such models predict that, in general, the shape of response time distributions change across conditions, although in practice, this shape change may be subtle. An alternative view is that response time distributions are shape invariant across conditi...

متن کامل

Topologically Robust 3D Shape Matching via Gradual Deflation and Inflation

Despite being vastly ignored in the literature, coping with topological noise is an issue of increasing importance, especially as a consequence of the increasing number and diversity of 3D polygonal models that are captured by devices of different qualities or synthesized by algorithms of different stabilities. One approach for matching 3D shapes under topological noise is to replace the topolo...

متن کامل

Shape anisotropy: tensor distance to anisotropy measure

Fractional anisotropy (FA), defined as the distance of a diffusion tensor from its closest isotropic tensor, has been extensively studied as quantitative anisotropy measure for diffusion tensor magnetic resonance images (DT-MRI). It has been used to reveal the white matter profile of brain images, as guiding feature for seeding and stopping in fiber tractography and for the diagnosis and assess...

متن کامل

Checking the Shape Safety of Pointer Manipulations

We present a new algorithm for checking the shape-safety of pointer manipulation programs. In our model, an abstract, data-less pointer structure is a graph. A shape is a language of graphs. A pointer manipulation program is modelled abstractly as a set of graph rewrite rules over such graphs where each rule corresponds to a pointer manipulation step. Each rule is annotated with the intended sh...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Lecture Notes in Computer Science

سال: 2023

ISSN: ['1611-3349', '0302-9743']

DOI: https://doi.org/10.1007/978-3-031-30044-8_8